package com.sun.common.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("zt_user")
public class UserModel {

    @TableId
    private String id;

    @TableField("company")
    private String company;

    @TableField("account")
    private String account;

    @TableField("password")
    private String password;

    @TableField("type")
    private String type;

    @TableField("dept")
    private long dept;

    @TableField("role")
    private String role;

    @TableField("realname")
    private String realname;

    @TableField("nickname")
    private String nickname;

    @TableField("commiter")
    private String commiter;

    @TableField("avatar")
    private String avatar;

    @TableField("birthday")
    private Date birthday;

    //性别（f男 m女）
    @TableField("gender")
    private String gender;

    @TableField("email")
    private String email;

    @TableField("skype")
    private String skype;

    @TableField("qq")
    private String qq;

    @TableField("mobile")
    private String mobile;

    @TableField("phone")
    private String phone;

    @TableField("weixin")
    private String weixin;

    @TableField("dingding")
    private String dingding;

    @TableField("slack")
    private String slack;

    @TableField("whatsapp")
    private String whatsapp;

    @TableField("address")
    private String address;

    @TableField("zipcode")
    private String zipcode;

    @TableField("visits")
    private long visits;

    @TableField("visions")
    private String visions;

    @TableField("ip")
    private String ip;

    @TableField("last")
    private long last;

    @TableField("fails")
    private long fails;


    @TableField("ranzhi")
    private String ranzhi;

    @TableField("score")
    private long score;

    @TableField("scoreLevel")
    private long scoreLevel;

    @TableField("resetToken")
    private String resetToken;

    @TableField("deleted")
    private String deleted;

}
